<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.sql.*"%>

<html>
<head>
	<title>物流指数</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
	<link rel="stylesheet" type="text/css" href="css/swiper-4.2.0.min.css">
	<link rel="stylesheet" href="css/top.css" type="text/css">
	<link rel="stylesheet" href="css/chart_test.css" type="text/css">
	<script src="js/Chart.min.js" type="text/javascript"></script>
</head>
<body>
<%@ include file="module/top.jsp"%>
<%  Object user_id = session.getAttribute("user_id");
	boolean flag =false;
	String driver = "com.mysql.jdbc.Driver";
	Class.forName(driver);
	Connection con=java.sql.DriverManager.getConnection("jdbc:mysql://localhost/detecting_system","root","");
	Statement stmt=con.createStatement();
	ResultSet rs=stmt.executeQuery(" select * from market_management where user_id="+user_id);
	while(rs.next())
	{
		if(rs.getString(4).equals("1")){
			flag=true;
		}
	}
	if (!flag) {/* 权限 */
		out.println("<script language=javascript>alert('你不能访问此版块');window.location.href='login_show.jsp'</script>");
		return;
	}
	String[][] registered = new String[20][20];
	String[][] ecommerce = new String[20][20];
	String[][] customized = new String[20][20];
	for(int g=1;g<=10;g++){
		rs=stmt.executeQuery("select * from market_data where market_id="+g);
		int j=1;
		while(rs.next())
		{
			registered[g][j] = rs.getString(14);
			ecommerce[g][j] = rs.getString(15);
			customized[g][j] = rs.getString(16);
			j++;
		}
	}
	double[] sum=new double[11] ;
	for (int k =1;k<=10;k++){
		for (int m=1;m<=12;m++){
			sum[k]+=Double.valueOf(registered[k][m])+Double.valueOf(ecommerce[k][m])+Double.valueOf(customized[k][m]);
		}
		sum[k]=sum[k]/12.0;
	}
	//关闭连接、释放资源

	rs.close();
	stmt.close();
	con.close();
%>
<div class="brandCon col-lg-12 col-md-12 col-sm-12">
	<h1>物流指数</h1>
	<div class="row">
		<ul class="brandUl col-lg-4 col-md-4 col-sm-4">
			<li>开单数</li>
			<li>客单价</li>
			<li>发货量</li>
			<li>发货单数</li>
		</ul>
	</div>
	<div class="col-lg-6 col-md-6 col-sm-6"></div>
	<div class="deFloat"></div>
</div>
<div class="deFloat"></div>
<h6 title="为了方便您的观察，鼠标点击图表上方标签，即可隐去改标签数据">Tip:为了方便您的观察，鼠标点击图表上方标签，即可隐去改标签数据</h6>
<%--薪酬平均数--%>
<div class="registerCon">
	<h2>薪酬平均数</h2>
	<div class="can">
		<canvas id="shop1"></canvas>
	</div>
</div>
<%--雇员教育水平占比--%>
<div class="changeCon">
	<h2>雇员教育水平占比</h2>
	<div class="can">
		<canvas id="shop2"></canvas>
	</div>
</div>
<%--雇员平均数--%>
<div class="averageCon">
	<h2>雇员平均数</h2>
	<div class="can">
		<canvas id="shop3"></canvas>
	</div>
</div>
<%--人力指数比--%>
<div class="innovationRate">
	<h2>人力指数比</h2>
	<div class="can">
		<canvas id="shop4"></canvas>
	</div>
</div>



<%--薪酬平均数--%>
<script>

    var ctx = document.getElementById("shop1");
    var a = new Chart(ctx, {
        type: 'line',
        data: {
            labels: ["2017-01", "2017-02", "2017-03", "2017-04", "2017-05", "2017-06", "2017-07", "2017-08", "2017-09", "2017-10", "2017-11", "2017-12"],
            datasets: [{
                label: '白云皮具城',
                data: [<%=registered[1][1] %>,<%=registered[1][2] %>,<%=registered[1][3] %>,<%=registered[1][4] %>,<%=registered[1][5] %>,<%=registered[1][6] %>,<%=registered[1][7] %>,<%=registered[1][8] %>,<%=registered[1][9] %>,<%=registered[1][10] %>,<%=registered[1][11] %>,<%=registered[1][12] %>],
                backgroundColor: [
                    'rgba(255, 250, 250, 0)'
                ],
                borderColor: [
                    'rgba(0,0,0, 1)'
                ],
                borderWidth: 1
            },{

                label: "广东芳村茶叶城",

                backgroundColor: [
                    'rgba(255, 250, 250, 0)'
                ],
                borderColor: [
                    'rgba(65,75, 125,0.9)'
                ],

                data: [<%=registered[2][1] %>,<%=registered[2][2] %>,<%=registered[2][3] %>,<%=registered[2][4] %>,<%=registered[2][5] %>,<%=registered[2][6] %>,<%=registered[2][7] %>,<%=registered[2][8] %>,<%=registered[2][9] %>,<%=registered[2][10] %>,<%=registered[2][11] %>,<%=registered[2][12] %>]
            },
                {

                    label: "广州国际轻纺城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(255, 255, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[3][1] %>,<%=registered[3][2] %>,<%=registered[3][3] %>,<%=registered[3][4] %>,<%=registered[3][5] %>,<%=registered[3][6] %>,<%=registered[3][7] %>,<%=registered[3][8] %>,<%=registered[3][9] %>,<%=registered[3][10] %>,<%=registered[3][11] %>,<%=registered[3][12] %>]
                },
                {

                    label: "广州眼镜城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	127, 255, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[4][1] %>,<%=registered[4][2] %>,<%=registered[4][3] %>,<%=registered[4][4] %>,<%=registered[4][5] %>,<%=registered[4][6] %>,<%=registered[4][7] %>,<%=registered[4][8] %>,<%=registered[4][9] %>,<%=registered[4][10] %>,<%=registered[4][11] %>,<%=registered[4][12] %>]
                },
                {

                    label: "国际皮革五金城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(255, 106, 106, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[5][1] %>,<%=registered[5][2] %>,<%=registered[5][3] %>,<%=registered[5][4] %>,<%=registered[5][5] %>,<%=registered[5][6] %>,<%=registered[5][7] %>,<%=registered[5][8] %>,<%=registered[5][9] %>,<%=registered[5][10] %>,<%=registered[5][11] %>,<%=registered[5][12] %>]
                },
                {

                    label: "红棉国际时装城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	255, 140, 105, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[6][1] %>,<%=registered[6][2] %>,<%=registered[6][3] %>,<%=registered[6][4] %>,<%=registered[6][5] %>,<%=registered[6][6] %>,<%=registered[6][7] %>,<%=registered[6][8] %>,<%=registered[6][9] %>,<%=registered[6][10] %>,<%=registered[6][11] %>,<%=registered[6][12] %>]
                },
                {

                    label: "华林国际",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(154, 50, 205, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[7][1] %>,<%=registered[7][2] %>,<%=registered[7][3] %>,<%=registered[7][4] %>,<%=registered[7][5] %>,<%=registered[7][6] %>,<%=registered[7][7] %>,<%=registered[7][8] %>,<%=registered[7][9] %>,<%=registered[7][10] %>,<%=registered[7][11] %>,<%=registered[7][12] %>]
                },
                {

                    label: "清平医药中心",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(139, 119, 101, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[8][1] %>,<%=registered[8][2] %>,<%=registered[8][3] %>,<%=registered[8][4] %>,<%=registered[8][5] %>,<%=registered[8][6] %>,<%=registered[8][7] %>,<%=registered[8][8] %>,<%=registered[8][9] %>,<%=registered[8][10] %>,<%=registered[8][11] %>,<%=registered[8][12] %>]
                },
                {

                    label: "万菱广场",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	255, 165, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[9][1] %>,<%=registered[9][2] %>,<%=registered[9][3] %>,<%=registered[9][4] %>,<%=registered[9][5] %>,<%=registered[9][6] %>,<%=registered[9][7] %>,<%=registered[9][8] %>,<%=registered[9][9] %>,<%=registered[9][10] %>,<%=registered[9][11] %>,<%=registered[9][12] %>]
                },
                {

                    label: "五洲城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(139, 69, 19, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=registered[10][1] %>,<%=registered[10][2] %>,<%=registered[10][3] %>,<%=registered[10][4] %>,<%=registered[10][5] %>,<%=registered[10][6] %>,<%=registered[10][7] %>,<%=registered[10][8] %>,<%=registered[10][9] %>,<%=registered[10][10] %>,<%=registered[10][11] %>,<%=registered[10][12] %>]
                }
            ]
        },
        options: {
            title: {
                display: true
            }
        }
    });
</script>
<%--雇员教育水平占比--%>
<script>

    var ctx2 = document.getElementById("shop2");
    var a2 = new Chart(ctx2, {
        type: 'line',
        data: {
            labels: ["2017-01", "2017-02", "2017-03", "2017-04", "2017-05", "2017-06", "2017-07", "2017-08", "2017-09", "2017-10", "2017-11", "2017-12"],
            datasets: [{
                label: '白云皮具城',
                data: [<%=ecommerce[1][1] %>,<%=ecommerce[1][2] %>,<%=ecommerce[1][3] %>,<%=ecommerce[1][4] %>,<%=ecommerce[1][5] %>,<%=ecommerce[1][6] %>,<%=ecommerce[1][7] %>,<%=ecommerce[1][8] %>,<%=ecommerce[1][9] %>,<%=ecommerce[1][10] %>,<%=ecommerce[1][11] %>,<%=ecommerce[1][12] %>],
                backgroundColor: [
                    'rgba(255, 250, 250, 0)'
                ],
                borderColor: [
                    'rgba(0,0,0, 1)'
                ],
                borderWidth: 1
            },{

                label: "广东芳村茶叶城",

                backgroundColor: [
                    'rgba(255, 250, 250, 0)'
                ],
                borderColor: [
                    'rgba(65,75, 125,0.9)'
                ],

                data: [<%=ecommerce[2][1] %>,<%=ecommerce[2][2] %>,<%=ecommerce[2][3] %>,<%=ecommerce[2][4] %>,<%=ecommerce[2][5] %>,<%=ecommerce[2][6] %>,<%=ecommerce[2][7] %>,<%=ecommerce[2][8] %>,<%=ecommerce[2][9] %>,<%=ecommerce[2][10] %>,<%=ecommerce[2][11] %>,<%=ecommerce[2][12] %>]
            },
                {

                    label: "广州国际轻纺城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(255, 255, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[3][1] %>,<%=ecommerce[3][2] %>,<%=ecommerce[3][3] %>,<%=ecommerce[3][4] %>,<%=ecommerce[3][5] %>,<%=ecommerce[3][6] %>,<%=ecommerce[3][7] %>,<%=ecommerce[3][8] %>,<%=ecommerce[3][9] %>,<%=ecommerce[3][10] %>,<%=ecommerce[3][11] %>,<%=ecommerce[3][12] %>]
                },
                {

                    label: "广州眼镜城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	127, 255, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[4][1] %>,<%=ecommerce[4][2] %>,<%=ecommerce[4][3] %>,<%=ecommerce[4][4] %>,<%=ecommerce[4][5] %>,<%=ecommerce[4][6] %>,<%=ecommerce[4][7] %>,<%=ecommerce[4][8] %>,<%=ecommerce[4][9] %>,<%=ecommerce[4][10] %>,<%=ecommerce[4][11] %>,<%=ecommerce[4][12] %>]
                },
                {

                    label: "国际皮革五金城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(255, 106, 106, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[5][1] %>,<%=ecommerce[5][2] %>,<%=ecommerce[5][3] %>,<%=ecommerce[5][4] %>,<%=ecommerce[5][5] %>,<%=ecommerce[5][6] %>,<%=ecommerce[5][7] %>,<%=ecommerce[5][8] %>,<%=ecommerce[5][9] %>,<%=ecommerce[5][10] %>,<%=ecommerce[5][11] %>,<%=ecommerce[5][12] %>]
                },
                {

                    label: "红棉国际时装城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	255, 140, 105, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[6][1] %>,<%=ecommerce[6][2] %>,<%=ecommerce[6][3] %>,<%=ecommerce[6][4] %>,<%=ecommerce[6][5] %>,<%=ecommerce[6][6] %>,<%=ecommerce[6][7] %>,<%=ecommerce[6][8] %>,<%=ecommerce[6][9] %>,<%=ecommerce[6][10] %>,<%=ecommerce[6][11] %>,<%=ecommerce[6][12] %>]
                },
                {

                    label: "华林国际",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(154, 50, 205, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[7][1] %>,<%=ecommerce[7][2] %>,<%=ecommerce[7][3] %>,<%=ecommerce[7][4] %>,<%=ecommerce[7][5] %>,<%=ecommerce[7][6] %>,<%=ecommerce[7][7] %>,<%=ecommerce[7][8] %>,<%=ecommerce[7][9] %>,<%=ecommerce[7][10] %>,<%=ecommerce[7][11] %>,<%=ecommerce[7][12] %>]
                },
                {

                    label: "清平医药中心",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(139, 119, 101, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[8][1] %>,<%=ecommerce[8][2] %>,<%=ecommerce[8][3] %>,<%=ecommerce[8][4] %>,<%=ecommerce[8][5] %>,<%=ecommerce[8][6] %>,<%=ecommerce[8][7] %>,<%=ecommerce[8][8] %>,<%=ecommerce[8][9] %>,<%=ecommerce[8][10] %>,<%=ecommerce[8][11] %>,<%=ecommerce[8][12] %>]
                },
                {

                    label: "万菱广场",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	255, 165, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[9][1] %>,<%=ecommerce[9][2] %>,<%=ecommerce[9][3] %>,<%=ecommerce[9][4] %>,<%=ecommerce[9][5] %>,<%=ecommerce[9][6] %>,<%=ecommerce[9][7] %>,<%=ecommerce[9][8] %>,<%=ecommerce[9][9] %>,<%=ecommerce[9][10] %>,<%=ecommerce[9][11] %>,<%=ecommerce[9][12] %>]
                },
                {

                    label: "五洲城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(139, 69, 19, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=ecommerce[10][1] %>,<%=ecommerce[10][2] %>,<%=ecommerce[10][3] %>,<%=ecommerce[10][4] %>,<%=ecommerce[10][5] %>,<%=ecommerce[10][6] %>,<%=ecommerce[10][7] %>,<%=ecommerce[10][8] %>,<%=ecommerce[10][9] %>,<%=ecommerce[10][10] %>,<%=ecommerce[10][11] %>,<%=ecommerce[10][12] %>]
                }
            ]
        },
        options: {
            title: {
                display: true
            }
        }
    });
</script>
<%--雇员平均数--%>
<script>

    var ctx3 = document.getElementById("shop3");
    var a3 = new Chart(ctx3, {
        type: 'line',
        data: {
            labels: ["2017-01", "2017-02", "2017-03", "2017-04", "2017-05", "2017-06", "2017-07", "2017-08", "2017-09", "2017-10", "2017-11", "2017-12"],
            datasets: [{
                label: '白云皮具城',
                data: [<%=customized[1][1] %>,<%=customized[1][2] %>,<%=customized[1][3] %>,<%=customized[1][4] %>,<%=customized[1][5] %>,<%=customized[1][6] %>,<%=customized[1][7] %>,<%=customized[1][8] %>,<%=customized[1][9] %>,<%=customized[1][10] %>,<%=customized[1][11] %>,<%=customized[1][12] %>],
                backgroundColor: [
                    'rgba(255, 250, 250, 0)'
                ],
                borderColor: [
                    'rgba(0,0,0, 1)'
                ],
                borderWidth: 1
            },{

                label: "广东芳村茶叶城",

                backgroundColor: [
                    'rgba(255, 250, 250, 0)'
                ],
                borderColor: [
                    'rgba(65,75, 125,1)'
                ],

                data: [<%=customized[2][1] %>,<%=customized[2][2] %>,<%=customized[2][3] %>,<%=customized[2][4] %>,<%=customized[2][5] %>,<%=customized[2][6] %>,<%=customized[2][7] %>,<%=customized[2][8] %>,<%=customized[2][9] %>,<%=customized[2][10] %>,<%=customized[2][11] %>,<%=customized[2][12] %>]
            },
                {

                    label: "广州国际轻纺城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(255, 255, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[3][1] %>,<%=customized[3][2] %>,<%=customized[3][3] %>,<%=customized[3][4] %>,<%=customized[3][5] %>,<%=customized[3][6] %>,<%=customized[3][7] %>,<%=customized[3][8] %>,<%=customized[3][9] %>,<%=customized[3][10] %>,<%=customized[3][11] %>,<%=customized[3][12] %>]
                },
                {

                    label: "广州眼镜城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	127, 255, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[4][1] %>,<%=customized[4][2] %>,<%=customized[4][3] %>,<%=customized[4][4] %>,<%=customized[4][5] %>,<%=customized[4][6] %>,<%=customized[4][7] %>,<%=customized[4][8] %>,<%=customized[4][9] %>,<%=customized[4][10] %>,<%=customized[4][11] %>,<%=customized[4][12] %>]
                },
                {

                    label: "国际皮革五金城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(255, 106, 106, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[5][1] %>,<%=customized[5][2] %>,<%=customized[5][3] %>,<%=customized[5][4] %>,<%=customized[5][5] %>,<%=customized[5][6] %>,<%=customized[5][7] %>,<%=customized[5][8] %>,<%=customized[5][9] %>,<%=customized[5][10] %>,<%=customized[5][11] %>,<%=customized[5][12] %>]
                },
                {

                    label: "红棉国际时装城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	255, 140, 105, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[6][1] %>,<%=customized[6][2] %>,<%=customized[6][3] %>,<%=customized[6][4] %>,<%=customized[6][5] %>,<%=customized[6][6] %>,<%=customized[6][7] %>,<%=customized[6][8] %>,<%=customized[6][9] %>,<%=customized[6][10] %>,<%=customized[6][11] %>,<%=customized[6][12] %>]
                },
                {

                    label: "华林国际",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(154, 50, 205, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[7][1] %>,<%=customized[7][2] %>,<%=customized[7][3] %>,<%=customized[7][4] %>,<%=customized[7][5] %>,<%=customized[7][6] %>,<%=customized[7][7] %>,<%=customized[7][8] %>,<%=customized[7][9] %>,<%=customized[7][10] %>,<%=customized[7][11] %>,<%=customized[7][12] %>]
                },
                {

                    label: "清平医药中心",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(139, 119, 101, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[8][1] %>,<%=customized[8][2] %>,<%=customized[8][3] %>,<%=customized[8][4] %>,<%=customized[8][5] %>,<%=customized[8][6] %>,<%=customized[8][7] %>,<%=customized[8][8] %>,<%=customized[8][9] %>,<%=customized[8][10] %>,<%=customized[8][11] %>,<%=customized[8][12] %>]
                },
                {

                    label: "万菱广场",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(	255, 165, 0, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[9][1] %>,<%=customized[9][2] %>,<%=customized[9][3] %>,<%=customized[9][4] %>,<%=customized[9][5] %>,<%=customized[9][6] %>,<%=customized[9][7] %>,<%=customized[9][8] %>,<%=customized[9][9] %>,<%=customized[9][10] %>,<%=customized[9][11] %>,<%=customized[9][12] %>]
                },
                {

                    label: "五洲城",

                    backgroundColor: [
                        'rgba(255, 250, 250, 0)'
                    ],
                    borderColor: [
                        'rgba(139, 69, 19, 1)'
                    ],
                    borderWidth: 1,
                    data: [<%=customized[10][1] %>,<%=customized[10][2] %>,<%=customized[10][3] %>,<%=customized[10][4] %>,<%=customized[10][5] %>,<%=customized[10][6] %>,<%=customized[10][7] %>,<%=customized[10][8] %>,<%=customized[10][9] %>,<%=customized[10][10] %>,<%=customized[10][11] %>,<%=customized[10][12] %>]
                }
            ]
        },
        options: {
            title: {
                display: true
            }
        }
    });
</script>
<%--人力指数比--%>
<script>

    var ctx4 = document.getElementById("shop4");
    var a4 = new Chart(ctx4, {
        type: 'radar',
        data: {
            labels: ["白云皮具城","广东芳村茶叶城","广州国际轻纺城","广州眼镜城","国际皮革五金城","红棉国际时装城","华林国际","清平医药中心","万菱广场","五洲城"],
            datasets: [{
                label: '人力指数比',
                data: [<%=sum[1] %>,<%=sum[2] %>,<%=sum[3] %>,<%=sum[4] %>,<%=sum[5] %>,<%=sum[6] %>,<%=sum[7] %>,<%=sum[8] %>,<%=sum[9] %>,<%=sum[10] %>],
                backgroundColor: [
                    'rgba(255, 150, 250, 0.5)'

                ],
                borderColor: [
                    'rgba(255, 150, 250,2)'
                ],
                borderWidth: 1
            }

            ]
        },
        options: {
            title: {
                display: true
            }
        }
    });
</script>

<script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
</body>
</html>
